package com.magictower.primary.bean;

import android.graphics.drawable.Drawable;

/**
 * @author kejunzhan
 * @since 2017/12/26
 */

public class CacheInfo {
    private Drawable icon;
    private long cacheSize;
    private String apkName;
    private long dataSize;
    private String packageName;

    public String getApkName() {
        return apkName;
    }

    public void setApkName(String apkName) {
        this.apkName = apkName;
    }

    public long getCacheSize() {
        return cacheSize;
    }

    public void setCacheSize(long cacheSize) {
        this.cacheSize = cacheSize;
    }

    public long getDataSize() {
        return dataSize;
    }

    public void setDataSize(long dataSize) {
        this.dataSize = dataSize;
    }

    public Drawable getIcon() {
        return icon;
    }

    public void setIcon(Drawable icon) {
        this.icon = icon;
    }

    public String getPackageName() {
        return packageName;
    }

    public void setPackageName(String packageName) {
        this.packageName = packageName;
    }

    @Override
    public String toString() {
        return "CacheInfo{" +
                "apkName='" + apkName + '\'' +
                ", icon=" + icon +
                ", cacheSize=" + cacheSize +
                ", dataSize=" + dataSize +
                ", packageName='" + packageName + '\'' +
                '}';
    }
}
